package com.kodcu.web.iletisim;

import com.kodcu.web.SkeletonPage;
import com.kodcu.web.iletisim.content.IletisimPanel;
import com.kodcu.web.menubar.Menu;
import org.apache.wicket.PageParameters;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.ResourceModel;

/**
 * User: Altug Bilgin ALTINTAS
 * Date: 09.Tem.2010
 * Time: 12:37:47
 */
public class IletisimMainPage extends SkeletonPage {

    public  IletisimMainPage() {
        Label title = (Label) this.get("title");
        title.setDefaultModel(new ResourceModel("title.iletisim"));
        PageParameters params = new PageParameters();
		params.add("0", "Iletisim" );
		Menu menu = new Menu("Menu", params);
		add(menu);

        IletisimPanel iletisimPanel = new IletisimPanel("MainSide");
        add(iletisimPanel);

    }
}
